package com.store.pet.petstore.util;

public class Constant {

    /**
     * 服务器域名
     */
    public static final String HOST = "http://192.168.43.104:8080/";

    public static String DATA = "data";  //缓存UserBean类的Data参数

    public static String FILE_NAME = "file_name";  //缓存UserBean类的FileName参数

    /**
     * 注册接口
     */
    public static final String REGISTERED = "wincom/user_saveUser";

    /**
     * 登录接口
     */
    public static final String LOGIN = "wincom/user_loginApp";

    /**
     * 添加商品
     */
    public static final String ADD_COMMODITY = "wincom/pet_addPet";

    /**
     * 卖家查询自己所发布的商品
     */
    public static final String QUERY_COMMODITY = "wincom/pet_getAllPetsBySellerid";

    /**
     * 按类型查询在售宠物列表
     */
    public static final String QUERY_ONSALE_PET_LIST = "wincom/pet_getPetsByType";

    /**
     * 修改密码
     */
    public static final String CHANGE_PASSWORD = "wincom/user_updatePsd";

    /**
     * 买家下单
     */
    public static final String BUY = "wincom/order_addOrder";

    /**
     * 买家订单
     */
    public static final String BUYER_ORDER = "wincom/order_getOrderByBuyer";

    /**
     * 卖家订单
     */
    public static final String SELLER_ORDER = "wincom/order_getOrderBySeller";

    /**
     * 卖家发货
     */
    public static final String SHIP = "wincom/order_fahuo";

    /**
     * 卖家确认收钱
     */
    public static final String DETERMINE = "wincom/order_fukuan";

    /**
     * 查询所有在售宠物列表
     */
    public static final String INSTOCK = "wincom/pet_getPetsAll";

    /**
     * 搜索宠物
     */
    public static final String QUERY_COMMODITY_BY_NAME = "wincom/pet_searthPets";

    /**
     * 卖家修改发布商品
     */
    public static final String UPDATE_COMMODITY = "wincom/pet_updatePet";

    /**
     * 卖家删除发布商品
     */
    public static final String DELETE_COMMODITY = "wincom/pet_deletePet";

}
